package ar.org.cfired.creditos.parametros;

public class TipoAlternativo {
	private String tal_id;
	private String tal_descripcion;
	
	public void setTalId (String tal_id) {
		if (tal_id != null)
			this.tal_id = tal_id.substring(0, Math.min(3, tal_id.length()));
		else
			this.tal_id = new String();
	}
	public String getTalId() {
		return (this.tal_id);
	}

	public void setTalDescripcion (String tal_descripcion) {
		if (tal_descripcion != null)
			this.tal_descripcion = tal_descripcion.substring(0, Math.min(50, tal_descripcion.length()));
		else
			this.tal_descripcion = new String();
	}
	public String getTalDescripcion() {
		return (this.tal_descripcion);
	}
}
